package com.microservice.base.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @program: common
 * @description: DepartmentDto
 * @author: firstSeven
 * @create: 2019/01/30
 */
@Data
public class SysDepartmentDto {
    //通用树id
    private String sysTreeId;
    private String schoolCode;
    @JsonProperty("text")
    private String itemName;
    private String itemCode;
    private String tvParentid;
    private String tvParentname;
    private String itemValue;
    private String departmentId;
    //手机号
    @Length(min = 0, max = 50)
    private String phoneNumber;
    private String userId;
    private String loginName;
    private String realName;
    private String joinId;
    private String remarks;
}
